package org.yihang.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DeleteBy {
	
	/**
	 * findByXX 与 findByXXs 同时生成
	 * @return
	 */
	public boolean withMulti() default false;
	
	/**
	 * 仅生成 findByXXs
	 * @return
	 */
	public boolean onlyMulti() default false;

}
